import java.util.*;
public class LeftOf extends Hint{
	
	public LeftOf(){
	}
	
	public LeftOf(Unit[] units){
		super(units);
	}
	
	public void applyHint(){
		applyHint(units[0], units[1]);
	}
	
	public void applyHint(Unit A, Unit B){
		A.clear(B.lastSetBit(),A.size());
		B.clear(0,A.nextSetBit()+1);
	}
	
	public String toString(){
		return ""+units[0].getSymbol()+">"+units[1].getSymbol();
	}
}